package com.javaee.mvc.part1;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * description:
 *
 * @author: hevean
 * @date: 2025/03/05
 */
@WebServlet("/student")
public class StudentServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        // 用户列表
        List<Student> students = new ArrayList<>();
        // students.add(new Student("user00", "user00@aliyun.com", 18, "上海"));

        // 补全代码，将students添加到request中，重定向到/WEB-INF/part1/student-list.jsp

    }

}
